package bupt.party.online.model;

import java.sql.Timestamp;

/**
 * 学习园地
 *
 */
public class LearnCenter implements java.io.Serializable {

	private static final long serialVersionUID = -2874542814687172635L;
	
	private Integer id;
	private String title;            //标题
	private String posterNo;         //学习园地发布者的标识    
	private Timestamp posterTime;    //发布时间
	private String modifyNo;         //修改人的标识
	private Timestamp modifyTime;    //修改时间
	private String content;          //发布内容
	private Integer tag;             //学习园地标识 1：党的基本知识 2：党的历史知识  3：党员常规事项  4：基层干部职责  5：学习公告
	private Integer isDelete;        //是否删除字段，
    private Integer visitsCount;     //浏览次数
    private String posterName;       //操作人名字
	
	public LearnCenter() {
	}

	public LearnCenter(String title, String posterNo, Timestamp posterTime,
			String content, Integer tag, Integer isDelete) {
		this.title = title;
		this.posterNo = posterNo;
		this.posterTime = posterTime;
		this.content = content;
		this.tag = tag;
		this.isDelete = isDelete;
	}

	public LearnCenter(String title, String posterNo, Timestamp posterTime,
			String modifyNo, Timestamp modifyTime, String content, Integer tag,
			Integer isDelete) {
		this.title = title;
		this.posterNo = posterNo;
		this.posterTime = posterTime;
		this.modifyNo = modifyNo;
		this.modifyTime = modifyTime;
		this.content = content;
		this.tag = tag;
		this.isDelete = isDelete;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPosterNo() {
		return this.posterNo;
	}

	public void setPosterNo(String posterNo) {
		this.posterNo = posterNo;
	}

	public Timestamp getPosterTime() {
		return this.posterTime;
	}

	public void setPosterTime(Timestamp posterTime) {
		this.posterTime = posterTime;
	}

	public String getModifyNo() {
		return this.modifyNo;
	}

	public void setModifyNo(String modifyNo) {
		this.modifyNo = modifyNo;
	}

	public Timestamp getModifyTime() {
		return this.modifyTime;
	}

	public void setModifyTime(Timestamp modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getTag() {
		return this.tag;
	}

	public void setTag(Integer tag) {
		this.tag = tag;
	}

	public Integer getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getVisitsCount() {
		return visitsCount;
	}

	public void setVisitsCount(Integer visitsCount) {
		this.visitsCount = visitsCount;
	}

	public String getPosterName() {
		return posterName;
	}

	public void setPosterName(String posterName) {
		this.posterName = posterName;
	}
	
}